//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.common.requst;

public class VerifyReq {
    private String idCardNo;
    private String name;

    public VerifyReq() {
    }

    public String getIdCardNo() {
        return this.idCardNo;
    }

    public String getName() {
        return this.name;
    }

    public void setIdCardNo(final String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof VerifyReq)) {
            return false;
        } else {
            VerifyReq other = (VerifyReq)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$idCardNo = this.getIdCardNo();
                Object other$idCardNo = other.getIdCardNo();
                if (this$idCardNo == null) {
                    if (other$idCardNo != null) {
                        return false;
                    }
                } else if (!this$idCardNo.equals(other$idCardNo)) {
                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof VerifyReq;
    }

    public int hashCode() {

        int result = 1;
        Object $idCardNo = this.getIdCardNo();
        result = result * 59 + ($idCardNo == null ? 43 : $idCardNo.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        return result;
    }

    public String toString() {
        return "VerifyReq(idCardNo=" + this.getIdCardNo() + ", name=" + this.getName() + ")";
    }
}
